import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
import { BrowserRouter } from "react-router-dom";
// 正确的样式引入顺序 按顺序 不然会被覆盖
// 1.样式初始化一般放在最前面
import "reset-css";
// 2.ui框架的样式

// 3.组件的样式
import "@/assets/style/global.scss";

// 状态管理
import { Provider } from "react-redux";
import store from "@/store";
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
    <Provider store={store}>
        <BrowserRouter>
            <App />
        </BrowserRouter>
    </Provider>
);
